home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Complete Utilities To…ka 501 Killer Utilities!
/
501 Killer Utilities! (Macworld July 1995).cdr
/
Programming
/
RLaB
/
rlib
/
log2.r
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1995-01-17
|
284 b
|
15 lines
|
[
TEXT/RLAB
]
//-------------------------------------------------------------------//
// Syntax: log2 ( X )
// Description:
// Returns the base 2 logarithm of X
//-------------------------------------------------------------------//
log2 = function ( X )
{
return log (X) ./ log (2);
};